package com.mspbots.core.ticketai.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.JsonNode;
import com.mspbots.core.BaseEntity;
import com.mspbots.core.typehandler.JsonNodeTypeHandler;
import lombok.Data;

/**
 * com.mspbots.core.ticketai.model.SystemTicketRule
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/11/21
 */
@Data
@TableName(value = "system_ticket_rules", autoResultMap = true)
public class SystemTicketRule extends BaseEntity {

    private String name;
    private String displayName;
    private Boolean enable;

    @TableField(typeHandler = JsonNodeTypeHandler.class)
    private JsonNode params;
}
